const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  publicPath: process.env.NODE_ENV == "development" ? "" : "./",
  transpileDependencies: true,
  configureWebpack: {
    externals: [".json", ".js", ".vue", ".ts"],
  },
  devServer: {
    proxy: {
      "": {
        target: "https://static.xuantong.cn",
        changeOrigin: true,
      },
    },
  },
});
